using System.Configuration;

namespace FwkLight
{
  public static class PropertiesManager
  {
    public static bool UseCache
    {
      get
      {
        var setting = ConfigurationManager.AppSettings["UseCache"];
        bool useCache;

        return bool.TryParse(setting, out useCache) && useCache;
      }
    }
  }
}